﻿{wc:php:start}
$f_home = '';
$f_whole = '';
$f_jiexiao = '';
$f_car = '';
$f_personal = '';

if( ROUTE_C == 'home' || ROUTE_C == 'user' ){
$f_personal = 'cur';
}else if( ROUTE_C == 'mobile' && ROUTE_A == 'init'){
$f_home = 'cur';
}else if( ROUTE_C == 'mobile' && ROUTE_A == 'glist'){
$f_whole = 'cur';
}else if( ROUTE_C == 'mobile' && ROUTE_A == 'lottery'){
$f_jiexiao = 'cur';
}else if( ROUTE_C == 'shaidan'){
$f_car = 'cur';
}
{wc:php:end}
<p>
    <br/>
</p>
<p>
    <br/>
</p>
<p>
    <br/>
</p>
<style>
    .footerdi .f_home i.cur {
        background-position: 0 0 !important;
    }

    .footerdi .f_whole i.cur {
        background-position: 0 -52px !important;
    }

    .footerdi .f_jiexiao i.cur {
        background-position: 0 -226px !important;
    }

    .footerdi .f_car i.cur {
        background-position: 0 -102px !important;
    }

    .footerdi .f_personal i.cur {
        background-position: 0 -150px !important;
    }
    #cnzz_stat_icon_1260582628 {
        display: none;
    }
</style>
<div class="footerdi" style="bottom: 0px;">
    <ul>
        <li class="f_home">
            <a title="首页" href="{WEB_PATH}/mobile/mobile/"><i class="{wc:$f_home}">&nbsp;</i>首页</a>
        </li>
        <li class="f_whole">
            <a title="所有商品" href="{WEB_PATH}/mobile/mobile/glist"><i class="{wc:$f_whole}">&nbsp;</i>所有商品</a>
        </li>
        <li class="f_jiexiao">
            <a title="最新揭晓" href="{WEB_PATH}/mobile/mobile/lottery"><i class="{wc:$f_jiexiao}">&nbsp;</i>最新揭晓</a>
        </li>
        <li class="f_car">
            <a title="首页" href="{WEB_PATH}/mobile/shaidan"><i class="{wc:$f_car}">&nbsp;</i>晒单</a>
        </li>
        <li class="f_personal">
            <a title="首页" href="{WEB_PATH}/mobile/home"><i class="{wc:$f_personal}">&nbsp;</i>个人中心</a>
        <li>
    </ul>
</div>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1260582628'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1260582628%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>

